package com.ruoyi.project.dict.dailyword.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 每日一字对象 dailyword
 * 
 * @author shixiangwen
 * @date 2020-04-01
 */
public class Dailyword extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 每日一字Id */
	private String wid;

	/** 用户ID */
	private Long kkuid;

	/** 字#拼音 */
	@Excel(name = "字#拼音")
	private String word;

	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date lastmodify;

	/** 状态(-4,删除，0,私有,1公开 */
	@Excel(name = "状态(-4,删除，0,私有,1公开")
	private Integer vstatus;

	/** 描述 */
	@Excel(name = "描述")
	private String desc;

	/** 点赞/喜欢 */
	@Excel(name = "点赞/喜欢")
	private Long praise;

	/** 人工加赞/权重值 */
	@Excel(name = "人工加赞/权重值")
	private Long weight;

	/** 预留，置顶 */
	@Excel(name = "预留，置顶")
	private Long pos;

	/** 是否在广场显示（1显示，0不显示） */
	@Excel(name = "是否在广场显示", readConverterExp = "1=显示，0不显示")
	private Integer pubintop;

	public void setWid(String wid) {
		this.wid = wid;
	}

	public String getWid() {
		return wid;
	}

	public void setKkuid(Long kkuid) {
		this.kkuid = kkuid;
	}

	public Long getKkuid() {
		return kkuid;
	}

	public void setWord(String word) {
		this.word = word;
	}

	public String getWord() {
		return word;
	}

	public void setLastmodify(Date lastmodify) {
		this.lastmodify = lastmodify;
	}

	public Date getLastmodify() {
		return lastmodify;
	}

	public void setVstatus(Integer vstatus) {
		this.vstatus = vstatus;
	}

	public Integer getVstatus() {
		return vstatus;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getDesc() {
		return desc;
	}

	public void setPraise(Long praise) {
		this.praise = praise;
	}

	public Long getPraise() {
		return praise;
	}

	public void setWeight(Long weight) {
		this.weight = weight;
	}

	public Long getWeight() {
		return weight;
	}

	public void setPos(Long pos) {
		this.pos = pos;
	}

	public Long getPos() {
		return pos;
	}

	public void setPubintop(Integer pubintop) {
		this.pubintop = pubintop;
	}

	public Integer getPubintop() {
		return pubintop;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("wid", getWid()).append("kkuid", getKkuid()).append("word", getWord()).append("lastmodify", getLastmodify())
				.append("vstatus", getVstatus()).append("desc", getDesc()).append("praise", getPraise()).append("weight", getWeight()).append("pos", getPos()).append("pubintop", getPubintop())
				.toString();
	}
}
